# 这是注释
# https://blog.csdn.net/zhouyulu/article/details/8449263
TARGET  = main.out
OBJECTS	= main.o

CC      = gcc
CFLAGS  = -g -O0

.PHONY:default all clean

default:clean all
# https://blog.csdn.net/huangkangying/article/details/90521151
all:${OBJECTS}
	${CC} ${CFLAGS} -fPIE -o ${TARGET} $^

%.o:%.c
	${CC} ${CFLAGS}  -c -o $@ $<

clean:
	-rm *.o ${TARGET}
